<template>
    <div class="fillcontain">
      <head-top></head-top>
      <h1 class="head_title">新增消息</h1>
      <div class="search">
        <div class="search_name">用户名:<input class="search_name_input" type="text" placeholder="请输入用户名"/></div>
        <div class="search_phone">联系电话:<input class="search_name_input" type="text" placeholder="请输入联系电话" maxlength="11"/></div>
        <div class="result" @click="sendMessage">发送</div>
        <div class="result">重置</div>
      </div>
      <div class="user_detalied">
        <table align="center" border="1" class="detailed_table" cellspacing="0" cellpadding="0">
          <tr height="33%">
            <td width="20%">*消息详情:</td>
            <td width="20%"><textarea class="textarea"></textarea></td>
          </tr>
        </table>
      </div>

    </div>
</template>

<script>
    import headTop from '../components/headTop'
    import {adminList, adminCount} from '@/api/getData'
    export default {
      data(){
      },
    	components: {
    		headTop,
    	},
      created(){

      },
      methods: {
      }
    }
</script>

<style lang="less">
	@import '../style/mixin';
  .head_title{
    text-align: center;
    padding: 20px 0;
    font-size: 36px;
  }
  .user_detalied{
    width: 60%;
    margin: 0 auto;
    display: flex;
  }
  .detailed_table{
    height: 250px;
    margin: 0;
    text-align: center;
  }
  .textarea{
    padding: 5px;
    outline: none;
    resize: none;
    width: 90%;
    height: 90%;
  }
  .search {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    height: 60px;
    font-size: 20px;
    margin-bottom: 15px;
    .search_name,.search_phone {
      margin:  0 20px;
      .search_name_input{
        border: 1px solid #ccc;
        margin-left: 20px;
        height: 35px;
        }
      .search_phone_input{
        border: 1px solid #ccc;
        margin-left: 20px;
        height: 40px;
        padding: 5px;
      }
    }
    .result{
      width:100px;
      text-align: center;
      border: 1px solid #999;
      background-color:#20a0ff;
      padding: 5px;
      color: #fff;
      margin-left: 10px;
    }
    .Pagination{
      text-align: center;
    }
  }
</style>
